package com.qyl.http_upload.client;

import java.io.File;
import java.util.Map;

public class HttpSendPostVo extends HttpSendVo {

    private Map<String, Object> bodyParam;
    private File file;

    private String fileReqName;

    public HttpSendPostVo(String url, String ip, Integer port, Map<String, Object> bodyParam) {
        super(url, ip, port);
        this.bodyParam = bodyParam;
    }

    public HttpSendPostVo(String url, String ip, Integer port, Map<String, Object> bodyParam, File file, String fileReqName) {
        super(url, ip, port);
        this.bodyParam = bodyParam;
        this.file = file;
        this.fileReqName = fileReqName;
    }

    public Map<String, Object> getBodyParam() {
        return bodyParam;
    }

    public void setBodyParam(Map<String, Object> bodyParam) {
        this.bodyParam = bodyParam;
    }

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public String getFileReqName() {
        return fileReqName;
    }

    public void setFileReqName(String fileReqName) {
        this.fileReqName = fileReqName;
    }
}
